package com.tl.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tl.common.annotation.Excel;
import com.tl.common.core.domain.BaseEntity;

/**
 * 礼物对象 app_gift
 * 
 * @author suhp
 * @date 2024-06-21
 */
public class AppGift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long giftId;

    /** 礼物名称 */
    @Excel(name = "礼物名称")
    private String giftName;

    /** 礼物编号 */
    @Excel(name = "礼物编号")
    private String giftCode;

    /** 礼物图片 */
    @Excel(name = "礼物图片")
    private String imgPath;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String filePath;

    /** 礼物类型 */
    @Excel(name = "礼物类型")
    private String type;

    /** 金额 */
    @Excel(name = "金额")
    private String money;

    /** 状态（0正常 1关闭） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setGiftId(Long giftId) 
    {
        this.giftId = giftId;
    }

    public Long getGiftId() 
    {
        return giftId;
    }
    public void setGiftName(String giftName) 
    {
        this.giftName = giftName;
    }

    public String getGiftName() 
    {
        return giftName;
    }
    public void setGiftCode(String giftCode) 
    {
        this.giftCode = giftCode;
    }

    public String getGiftCode() 
    {
        return giftCode;
    }
    public void setImgPath(String imgPath) 
    {
        this.imgPath = imgPath;
    }

    public String getImgPath() 
    {
        return imgPath;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("giftId", getGiftId())
            .append("giftName", getGiftName())
            .append("giftCode", getGiftCode())
            .append("imgPath", getImgPath())
            .append("filePath", getFilePath())
            .append("type", getType())
            .append("money", getMoney())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
